MIDI Reference

This section describes the functions, macros, messages, and structures associated with the Musical Instrument Digital Interface (MIDI). These elements are grouped as follows.

Allocating and Managing Buffers

MIDIHDR8OW3.JO
midiInAddBufferX_0FK6
midiInPrepareHeader.S.Q5D
midiInUnprepareHeader1W1LZ7.
midiOutPrepareHeaderC2JN6Y
midiOutUnprepareHeader17F.LWX

Callback Functions

MidiInProcFUYTZG
MidiOutProc1UBLE3H

Device Capabilities

MIDIINCAPS2ZOW.S5
midiInGetDevCaps4A9FZM0
midiInGetID15TKC.H
midiInGetNumDevsEDN_AB
MIDIOUTCAPS425._HG
midiOutGetDevCaps11B4XWO
midiOutGetID0Z.CHH
midiOutGetNumDevs18YY8W6
MIDISTRMBUFFVEREL2I9C

Error Processing

midiInGetErrorText1M4JF8
midiOutGetErrorTextL_PS1B
MIM_ERROR13IG2WZ
MIM_LONGERROR21E02J5
MM_MIM_ERROR5IBKYB
MM_MIM_LONGERRORLRSN0W

Managing MIDI Streams

midiStreamClose1WFWUJ
midiStreamOpen1_C4PRU
midiStreamOut060OP9
midiStreamPause29.2UJ
midiStreamPosition1QHKRB.
midiStreamPropertyJBK3._
midiStreamRestart97123K
midiStreamStopK9WUEG

Opening and Closing Devices

midiInClose37AK_6N
midiInOpenFUXRPR
midiOutClose2.G._BN
midiOutOpen1UBKBTS
MIM_CLOSE1PPLZH2
MIM_OPEN1NQW_K2
MM_MIM_CLOSE5G.I25
MM_MIM_OPENN1_KUT
MM_MOM_CLOSEJPJJ24
MM_MOM_OPENI3ROZE
MOM_CLOSEVGC1D.
MOM_OPEN0ATBKY

Output Devices

KEYARRAY_X9Z8M
midiOutCacheDrumPatches3Y9XVV5
midiOutCachePatches1EIHSYG
midiOutGetVolumeJOHJ4K
midiOutSetVolume1J9J0VX
PATCHARRAY1KU6ZW8

Playing a Message or Messages

MEVT_EVENTPARMGWJ18O
MEVT_EVENTTYPEGWNI6G
MIDIEVENTJOWFQO
midiOutLongMsg10239RN
midiOutResetXCHB1_
midiOutShortMsgH.83QQ
midiStreamOut060OP9
midiStreamPause29.2UJ
midiStreamRestart97123K
midiStreamStopK9WUEG
MM_MOM_DONEI3GO8.
MM_MOM_POSITIONCB9AT30G
MOM_DONE0AIATP
MOM_POSITIONCB1SMQ_R.

Recording

midiConnect1Y7JZIL
midiDisconnect1FS..S9
midiInReset164KB8X
midiInStart2EHFZIM
midiInStopFV1VZT
MIDIPROPTEMPO2AA8ZJ6
MIDIPROPTIMEDIV1XNEUX2
MIM_DATA1NQKYYP
MIM_LONGDATACN33SA
MIM_MOREDATA2T9Q1I
MM_MIM_DATARQ_M7
MM_MIM_MOREDATA1JB50JI
MM_MIM_LONGDATAKTAI_L

Sending Messages to Devices

midiInMessage5S9A_WZ
midiOutMessageKOQYBW